﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using Model.Entity;

namespace Ones.Wcf.WebAdministration
{
    [ServiceContract]
    public interface IServiceUploadManagement
    {
        #region Media
        
        #region DMM
        
        [OperationContract]
        Boolean saveMedia(Media media);
        
        #endregion
        
        #region DQM
        
        [OperationContract]
        List<Media> searchAllMedia();
        
        [OperationContract]
        Media searchMediaById(int id);
        
        [OperationContract]
        List<Media> searchMediaByName(String name);
        
        [OperationContract]
        List<Media> searchMediaByType(String type);
    
        #endregion

        #endregion
    }
}